package com.tanhua.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description: 分析记录
 * @Author: Spike Wong
 * @Date: 2022/8/30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
//@TableName("tb_analysis_by_day")
public class Analysis extends BasePojo {

    /**
     * id
     */
    private Long id;
    /**
     * 日期
     */
    private Date recordDate;
    /**
     * 新注册用户数
     */
    private Integer numRegistered = 0;
    /**
     * 活跃用户数
     */
    private Integer numActive = 0;
    /**
     * 登陆次数
     */
    private Integer numLogin = 0;
    /**
     * 次日留存用户数
     */
    private Integer numRetention1d = 0;

    @TableField(exist = false)
    private Integer numActive30 = 888;
    @TableField(exist = false)
    private Integer numActive7 = 28;

}